<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>6.11</title>
</head>
<body>
    <script>
        // 函数 函数声明
        function getname(a, b) {
            console.log(a + b); 
        }
    </script>
    <button onclick="getname(1,2)" onmouseover="getname(3,4)">按钮</button>
   <img   src="https://ts1.tc.mm.bing.net/th/id/R-C.6f18e58bf3bacbcee226cb76dfc089a3?rik=61%2bMLnhOzFiZOg&riu=http%3a%2f%2fimages.shejidaren.com%2fwp-content%2fuploads%2f2014%2f07%2f085628m6c.jpg&ehk=v1vDvzVgPRc3irw6n%2bs5gF%2b5SEc1uCstErDhRaxqlgE%3d&risl=&pid=ImgRaw&r=0" alt="图片">

</body>
</html>